<?php
$tempIndex = 0;

while ($tempIndex < 20) {
    echo ++$tempIndex;
    echo PHP_EOL;
}
echo "已执行完while语句" . PHP_EOL;

do {
    echo --$tempIndex;
    if ($tempIndex == 3) {
        continue;//结束本轮循环
    }
    echo PHP_EOL;
} while ($tempIndex > 0);
echo "已执行完do while";
